export class Tools {
  hello() {
    console.log("hello");
  }
  // doAjax("/index.html").then((data)=>console.log(data));
  async doajax(url) {
    let result;
    try {
      result = await $.ajax({
        url: url,
        type: "",
        // data: args
      });

      return result;
    } catch (error) {
      console.error(error);
    }
  }
}
